package com.ba.common.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.NoRepositoryBean;

/**
 * @author Administrator
 * @package com.ba.common.repository
 * @date 2020-10-29 20:22
 */
/**
 * 通用Repository
 *
 * @param <E> 实体类
 * @param <T> id主键类型
 */
@NoRepositoryBean//不创建对应接口的bean
public interface CommonRepository<E, T> extends JpaRepository<E, T>, JpaSpecificationExecutor<E> {

}
